package com.marsoft.test.mapper;

import com.marsoft.test.entity.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GuarantyContractMapper {

    List<MaximumAmountDaoEntity> selectMaximumAmountList(MaximumAmountServiceInEntity guarantyContractType);

    GeneralGurantyContractEntity findGuarantyContractByNo(Integer guarantyContractNo);

    void saveMaximumAmount(MaximumAmountServiceInEntity amountServiceInEntity);

    int deleteMaximumAmount(MaximumAmountServiceInEntity amountServiceInEntity);

    Integer selectContractNo(String guarantyContractNo);

    void saveCollateralInfo(MaximumAmountGuarantyInfoServiceEntity amountServiceInEntity);

}
